package transportation;
import java.util.Scanner;
public class Test {
	public static void main(String[] args) {
		Scanner input=new Scanner(System.in);
		System.out.println("请输入货物重量和快递单号：");
		SendTask s=new SendTask();
		double w=input.nextDouble();
		String n=input.next();
		s.setWeight(w);
		s.setExpressNo(n);
		s.sendBefore();
		Transportation t=new JDTransportation();
		GPS tool=new Phone();
		s.send(t,tool);
		s.sendAfter(t);
	} 
}
